<%@ include file="/WEB-INF/jsp/includes.jsp" %>

<spring:message code="select_msg" />
<ul>
    <c:forEach items="${messages}" var="m" >
        <li><a href="?messageId=<c:out value="${m.id}" />">
                <c:out value="${m.subject}" /> (<c:out value="${m.creator.person}" />, <fmt:formatDate value="${m.creationTime}" pattern="dd.MM.yyyy HH:mm" />)
            </a>
    </c:forEach>
</ul>